


class A(object):
    def __init__(self):
        print("这是init方法",self)
    def __new__(cls):
        print("这是cls的ID",id(cls))
        print("这是new 方法",object.__new__(cls))
        return object.__new__(cls)
A()
print("这是类A的ID",id(A))
